package com.atguigu.spring6.junit.junit5;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;

@SpringJUnitConfig(locations = {"classpath:bean.xml"})
public class SpringTestJunit5 {

    @Autowired
    private User5 user5;

    @Test
    public void testSave() {
        user5.add();
    }
}
